<!-- modal template -->
<div class="modal-header" xmlns="http://www.w3.org/1999/html">
<h4 class="modal-title" id="myModalLabel">修改资源</h4>
</div>
<form   class="form-horizontal" novalidate="novalidate" >
<div class="modal-body">
<div class="row" style="padding:0;">
      <div class="col-md-12">
            <div class="form-group">
                  <label class="col-md-2 control-label">名称</label>
                  <div class="col-md-4 has-feedback">
                       <input type="text" name="resourceName" class="input-sm form-control" ng-model="resource.resourceName" />
                  </div>
                  <label class="col-md-2 control-label">菜单状态</label>
                   <div class="col-md-4 has-feedback">
                         <label class="radio-inline">
							 <input name="resourceEnable" type="radio" value="1" ng-model="resource.resourceEnable" ng-checked="true" required>
									    启用
									</label>
									<label class="radio-inline">
									  <input name="resourceEnable" type="radio" value="0" ng-model="resource.resourceEnable">
									  禁用
								</label>
                  </div>
               </div>
          <div class="hr-line-dotted"></div>
              <div class="form-group">
                   <label class="col-md-2 control-label">菜单等级</label>
                  <div class="col-md-4 has-feedback">
                        <input type="text" name="resourceLever" class="input-sm form-control" required   ng-model="resource.resourceLever" ng-required="true" />
                  </div>
                 
                 
                  <label class="col-md-2 control-label">描述</label>
                  <div class="col-md-4 has-feedback">
                       <input type="text" name="resourceDesc" class="input-sm form-control" ng-model="resource.resourceDesc" />
                  </div>
                  
            </div>
          
         
            
           
        </div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" ng-click="cancel()">取消</button>
<button type="submit" class="btn btn-primary" ng-click="ok()">确认</button>
</div>
</form>
